use sgs_pkg_std::Pkg;
use sgs_runtime::{loader_from, preclude::*};

fn main() {
    if let Err(e) = start() {
        eprintln!("{}", e);
    }
}

fn start() -> RuntimeResult<()> {
    let loader = loader_from![Pkg::release(), Pkg::debug()];
    let mut executor = loader.select_package(1)?.executor(0)?;

    executor.setup();

    Ok(())
}
